package com.xiaomaoguai.cxf.demo1;

import java.io.Serializable;

/**
 * @Description :
 * @FileName: User.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年8月17日 上午9:13:34
 * @Version:V1.00
 */
public class User implements Serializable {

	private static final long serialVersionUID = 1L;

	private Integer id;

	private String name;

	public User() {
		super();
	}

	public User(Integer id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + "]";
	}

}
